<template>
	<view class="content">
		<view class="word" v-html="htmlTxt"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				htmlTxt:'',
			}
		},
		onLoad(opt) {
			this.infoData(opt.id)
		},
		methods: {
			infoData(ids){
				var that = this
				that.$tips.showLoading('加载中')
				that.$httpApi.GetBannersdetails({ids:ids}).then((res)=>{
					that.$tips.hideLoading()
					if(res.code==1){
						that.htmlTxt = res.data.content;
					}
				})
			},
		}
	}
</script>

<style>
	.content {
		line-height: 180%;
		    font-size: 16px;
		    padding: 57px 74px;
		    height: 100%;
		    background: url('../../static/bg.png') top no-repeat;
		    background-size: cover;
	}
</style>